body {
  margin: 0;
  height: 100vh;
  text-align: center;
  background: url(https://cdn.jsdelivr.net/gh/moohng/bucket@main/1629266026265-20180424190132_QkNzF.jpeg) center / cover no-repeat;
  box-sizing: border-box;
}

#chess {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #d2b48cef;
}

canvas {
  display: block;
}

button {
  width: 150px;
  height: 44px;
  text-align: center;
  font-size: 16px;
  outline: none;
  border: none;
  border-radius: 44px;
}

.reset-btn {
  margin: 16px 0 8px;
  width: 120px;
  height: 36px;
  background-color: transparent;
  border: 1px solid #000;
}

.cover {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #00000080;
  display: flex;
  justify-content: center;
  align-items: center;
}
